package com.woniuxy.dudugua.controller;


import com.woniuxy.dudugua.service.SlideshowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.woniuxy.dudugua.util.Result;
import javax.annotation.Resource;


/**
 * @author  JadeFang
 * @Deprecated 商城首页轮播图功能的实现
 */
@RestController
public class SlideshowController {
    @Autowired
    private SlideshowService slideshowService;

    @RequestMapping("slideshow")
    public Result selectProductScanByTimes() throws Exception {

        return  new Result("200","success",null,slideshowService.selectProductScanByTimes());
    }
}
